//FileFilterator.java
import java.util.List;
import ca.odell.glazedlists.TextFilterator;
/**
 * Get the Strings to filter against for a given file.
 *
 */
public class FileFilterator implements TextFilterator {
 public void getFilterStrings(List baseList, Object element) {
   DBFile fi = (DBFile)element;

      baseList.add(fi.getName());
      baseList.add(fi.getExt());
      baseList.add(fi.getKeyWords());
      baseList.add(fi.getArtist());
      baseList.add(fi.getGenre());
      baseList.add(fi.getDimension());
      baseList.add(fi.getDirector());
      baseList.add(fi.getAlbum());
      baseList.add(fi.getTitle());


 }
}
